package com.groot.springbootmybatis.service.impl;

import com.groot.springbootmybatis.dao.mapper.ExampleMapper;
import com.groot.springbootmybatis.pojo.ExampleDemoVO;
import com.groot.springbootmybatis.service.ExampleDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: spring-boot-mybatis
 * @description:
 * @author: SnailThink
 * @create: 2020-07-14 15:35
 **/
@Service
public class ExampleDemoServiceImpl implements ExampleDemoService {

	@Autowired
	ExampleMapper exampleMapper;

	@Override
	public List<ExampleDemoVO> getExampleList() {

		List<ExampleDemoVO> list= exampleMapper.findExampleList();

		return list;
	}
}
